<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<html>
<head>
  <meta http-equiv="cache-control" content="no-cache">
  <meta http-equiv="pragma" content="no-cache">
  <link type="text/css" rel="stylesheet" href="scheduler.css">
  <title>iScheduler</title>
</head>

<body onload="document.forms[0].elements[0].focus()">

<div id="header">
    <h1>iScheduler</h1>
</div>

<div id="log">
    <a href="register.do">Register</a>
    <a href="login.do">Login</a>
</div>

<div id="navigation">
	<ul class="clearboth">
		<li id="${currnet}"><a href="schedule.do">Current Schedule</a></li>
		<li id="${saved}"><a href="saved-schedules.do">Saved Schedules</a></li>
		<li id="${create}"><a href="create-schedule.do">Create a New Schedule</a></li>
		<li id="${search}"><a href="search.do">Search For Courses</a></li>
    </ul>
</div>

<div id="main">
<c:forEach var="error" items="${errors}">
  <p class="error">${error}</p>
</c:forEach>

<c:if test="${not (empty (message))}">
  <p>${message}</p>
</c:if>

